package com.mitlab.dev.draw.mapper;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Set;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.mitlab.dev.draw.bean.ClassBean;
import com.mitlab.dev.draw.util.ClassUtils;

public class testMain {

	public static void main(String[] args) throws IOException {
		
		ObjectMapper om = new ObjectMapper();
		
		String packageName = "com.mitlab.dev.draw.samleClass";
		Set<String> classNames = ClassUtils.getClassName(packageName, true);
		List<ClassBean> lists=ClassUtils.getClassBean(classNames);
		ClassBean cb=lists.get(1);
		om.writeValue(System.out, lists);
	}

}
